package com.gg.user.gguser.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author yangxinlei
 * @date 2020/4/24
 */
public interface GgInvitationCodeServe {
    /**
     * 增加邀请码
     */
    Object addInvitationCode(HttpServletResponse response, HttpServletRequest request) throws Exception;

    /**
     * 查询邀请码
     */
    Object getInvitationCode(HttpServletResponse response, HttpServletRequest request) throws Exception;

    /**
     * 查询邀请码归属
     */
    Object getInvitationUser(HttpServletResponse response, HttpServletRequest request,String invitation) throws Exception;
}
